package 链表;

/**
 * @Author zxl
 * @Date 2021/12/19 22:26
 * @Desc
 */
public class Node {

    protected int value;

    protected Node next;

//    @Override
//    public String toString() {
//        StringBuilder sb = new StringBuilder();
//        Node current = this;
//        while (current != null) {
//            sb.append(current.value + " -> ");
//            current = current.next;
//        }
//        sb.append("null");
//        return "Node : " + sb.toString();
//    }
}
